package com.itcrx.emalladmin.mapper;

import com.itcrx.emalladmin.model.entity.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author NoobMaster69  * @date 2024/6/5 0005 星期三 9:44
 */
@Mapper
public interface UsersMapper {

    /**
     * 根据用户名查询用户
     * @param userLogin
     * @return
     */
    @Select("select * from users where user_login = #{userLogin}")
    Users getByUserLogin(String userLogin);
}
